package com.cjxt.ams.domain;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author zhanghuan
 * @version V1.0
 * @Description:
 * @className: TreeNodeUser
 * @date 2021/12/9 17:57
 * @company:华勤技术股份有限公司
 * @copyright: Copyright (c) 2021
 */
@Data
public class TreeNodeUser {

    //名称
    private String title;

    private String icon;

    private String spread;

    private String href;

    private Integer id;

    private Integer pid;

    private List<TreeNodeUser> children = new ArrayList<>();

    public TreeNodeUser(String title, String icon, String spread, String href, List<TreeNodeUser> children,Integer id,Integer pid) {
        this.title = title;
        this.icon = icon;
        this.spread = spread;
        this.href = href;
        this.children = children;
        this.id=id;
        this.pid=pid;
    }
}
